package com.tanxi521.tnweb.service.impl;

import com.tanxi521.tnweb.mapper.VipPlayersMapper;
import com.tanxi521.tnweb.model.VipPlayers;
import com.tanxi521.tnweb.service.VipPlayersService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class VipPlayersServiceImpl implements VipPlayersService {

    @Autowired
    VipPlayersMapper vipPlayersMapper;

    @Override
    public VipPlayers queryPlayersByUserId(String realname) {
        return vipPlayersMapper.selectByPlayerRealname(realname);
    }
}
